package com.yunji.order.dao;

import com.yunji.common.annotation.DataScope;
import com.yunji.common.base.IBaseDao;
import com.yunji.order.bo.GetAuditApplyBO;
import com.yunji.order.bo.GetOrderRefundBO;
import com.yunji.order.domain.RefundDO;
import com.yunji.order.dto.RefundParam;
import com.yunji.order.vo.RefundVO;

import java.util.List;

/**
 * @author : peter-zhu
 * @date : 2024/12/16 14:58
 * @description : TODO
 **/
public interface IRefundDao extends IBaseDao<RefundDO> {
    boolean updateRefundStatus(Long refundId, Integer newStatus, List<Integer> list);

    List<RefundDO> listByOrderId(Long orderId);

    RefundDO getByCode(String refundCode);

    RefundDO getByOrderId(GetOrderRefundBO bo);

    List<RefundDO> listAuditRefund(GetAuditApplyBO bo);

    List<RefundVO> refundList(RefundParam param);
}
